package com.xtkj.accountjava.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xtkj.accountjava.entity.UserAccountBookEntity;
import com.xtkj.accountjava.entity.UserAccountEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserAccountMapper extends BaseMapper<UserAccountEntity> {
    //    List<UserAccountEntity> getAccountList(String startTime,String endTime,int userId,int userAcbookId,int start,int pageSize);
    Page<UserAccountEntity> getAccountPage(
            Page<UserAccountEntity> page,
            String startTime, String endTime, int userId,
            int userAcbookId, int start, int pageSize);

    List<UserAccountEntity> getAccountList(
            String startTime, String endTime, int userId,
            int userAcbookId);
}
